package level.editor.state;

import level.editor.command.Command;

public class UpdateMenuCommand extends Command
{
	private StateModule module;
	
	public UpdateMenuCommand(StateModule module)
	{
		super("MenuModule");
		this.module = module;
	}
	
	public Boolean isModified()
	{
		return module.isModified();
	}
	
	public Boolean isPositionZero()
	{
		return module.getMemento().isPositionZero();
	}
	
	public Boolean isPositionEnd()
	{
		return module.getMemento().isPositionEnd();
	}
}
